package com.wyh.service.serviceImpl.g3serviceimpl;

import com.wyh.domain.po.g3po.BillDetails;
import com.wyh.mapper.g3mapper.BillDetailsMapper;
import com.wyh.service.g3service.BillDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Kirsch
* @description 针对表【billdetails(账单详情表)】的数据库操作Service实现
* @createDate 2024-06-11 10:41:25
*/
@Service
public class BillDetailsServiceImpl implements BillDetailsService {

    @Autowired
    private BillDetailsMapper billDetailsMapper;

    @Override
    public void insertBillDetails(BillDetails billDetails) {
        billDetailsMapper.insertBillDetails(billDetails);
    }



    @Override
    public BillDetails findById(int id) {
        return billDetailsMapper.findById(id);
    }

    @Override
    public void updateBillDetails(BillDetails billDetails) {
        billDetailsMapper.updateBillDetails(billDetails);
    }
}




